Skip to content

Conversation

@PeterDaveHello
Copy link
Member

Add release metadata and Dockerfiles for the 25.0.0 current line.

  • add v25 entry to versions.json
  • copy v24 variants and update NODE_VERSION/checksum

Reference:

Summary from GitHub Copilot:

This pull request introduces new Dockerfiles and entrypoint scripts for Node.js 25.0.0 images across multiple distributions and variants (Alpine 3.21, Alpine 3.22, Debian Bookworm, Bookworm Slim, and Buildpack-deps Bookworm). These images include both Node.js and Yarn, and provide a consistent entrypoint script to handle command execution logic.

The most important changes are:

Addition of Dockerfiles for Node.js 25.0.0:

  • Added Dockerfiles for alpine:3.21, alpine:3.22, debian:bookworm-slim, and buildpack-deps:bookworm variants, each installing Node.js 25.0.0, Yarn 1.22.22, and setting up the appropriate user and environment. These Dockerfiles handle architecture detection, GPG verification, and cleanup for smaller images. [1] [2] [3] [4]

Consistent entrypoint script:

  • Introduced a shared docker-entrypoint.sh script for all variants, which ensures that if the first argument is not a system command or starts with a dash, the command is run with node. This improves usability and matches common Docker Node.js image conventions.

Security and image size improvements:

  • All Dockerfiles perform GPG verification of Node.js and Yarn downloads, remove unnecessary build dependencies, and clean up unused files to reduce image size and improve security. [1] [2] [3] [4]

User and permissions setup:

  • Each image creates a non-root node user and group with UID/GID 1000, following best practices for container security. [1] [2] [3] [4]

Platform architecture support:

  • The Dockerfiles detect the target architecture at build time and adjust the Node.js and OpenSSL binaries accordingly, enabling multi-architecture support. [1] [2] [3] [4]

Add release metadata and Dockerfiles for the 25.0.0 current line.

- add v25 entry to versions.json
- copy v24 variants and update NODE_VERSION/checksum

Reference:
- https://nodejs.org/en/blog/release/v25.0.0
- https://github.com/nodejs/node/releases/tag/v25.0.0

This comment was marked as spam.

@PeterDaveHello PeterDaveHello requested review from a team and Copilot October 16, 2025 02:17

This comment was marked as spam.

@nschonni nschonni merged commit f39ef37 into nodejs:main Oct 16, 2025
21 checks passed
@github-actions
Copy link

Created PR on the official-images repo (docker-library/official-images#20099). See https://github.com/docker-library/faq#an-images-source-changed-in-git-now-what if you are wondering when it will be available on the Docker Hub.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants